const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  user_id: state=>state.user.userId,
  utype: state=>state.user.userType,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  mobile:state=>state.user.mobile,
  email:state=>state.user.email,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  check_num: state => state.user.check_num,
  reportLists: state=>state.user.reportLists,
  permission_routes: state => state.permission.routes,
  relateSys: state => state.user.relateSys,
  permission_menus:state=>state.permission.menus,
  permission_buttons:state=>state.permission.buttons,
  errorLogs: state => state.errorLog.logs
}
export default getters
